Optimal. Leaf size=106 \[ -\frac {4797 \left (5+2 x^2\right ) \sqrt {3+5 x^2+x^4}}{1024}+\frac {123}{128} \left (5+2 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}-\frac {1}{40} \left (27-10 x^2\right ) \left (3+5 x^2+x^4\right )^{5/2}+\frac {62361 \tanh ^{-1}\left (\frac {5+2 x^2}{2 \sqrt {3+5 x^2+x^4}}\right )}{2048} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 106, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {1265, 793, 626,
635, 212} \begin {gather*} -\frac {1}{40} \left (27-10 x^2\right ) \left (x^4+5 x^2+3\right )^{5/2}+\frac {123}{128} \left (2 x^2+5\right ) \left (x^4+5 x^2+3\right )^{3/2}-\frac {4797 \left (2 x^2+5\right ) \sqrt {x^4+5 x^2+3}}{1024}+\frac {62361 \tanh ^{-1}\left (\frac {2 x^2+5}{2 \sqrt {x^4+5 x^2+3}}\right )}{2048} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 626
Rule 635
Rule 793
Rule 1265
Rubi steps
\begin {align*} \int x^3 \left (2+3 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2} \, dx &=\frac {1}{2} \text {Subst}\left (\int x (2+3 x) \left (3+5 x+x^2\right )^{3/2} \, dx,x,x^2\right )\\ &=-\frac {1}{40} \left (27-10 x^2\right ) \left (3+5 x^2+x^4\right )^{5/2}+\frac {123}{16} \text {Subst}\left (\int \left (3+5 x+x^2\right )^{3/2} \, dx,x,x^2\right )\\ &=\frac {123}{128} \left (5+2 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}-\frac {1}{40} \left (27-10 x^2\right ) \left (3+5 x^2+x^4\right )^{5/2}-\frac {4797}{256} \text {Subst}\left (\int \sqrt {3+5 x+x^2} \, dx,x,x^2\right )\\ &=-\frac {4797 \left (5+2 x^2\right ) \sqrt {3+5 x^2+x^4}}{1024}+\frac {123}{128} \left (5+2 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}-\frac {1}{40} \left (27-10 x^2\right ) \left (3+5 x^2+x^4\right )^{5/2}+\frac {62361 \text {Subst}\left (\int \frac {1}{\sqrt {3+5 x+x^2}} \, dx,x,x^2\right )}{2048}\\ &=-\frac {4797 \left (5+2 x^2\right ) \sqrt {3+5 x^2+x^4}}{1024}+\frac {123}{128} \left (5+2 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}-\frac {1}{40} \left (27-10 x^2\right ) \left (3+5 x^2+x^4\right )^{5/2}+\frac {62361 \text {Subst}\left (\int \frac {1}{4-x^2} \, dx,x,\frac {5+2 x^2}{\sqrt {3+5 x^2+x^4}}\right )}{1024}\\ &=-\frac {4797 \left (5+2 x^2\right ) \sqrt {3+5 x^2+x^4}}{1024}+\frac {123}{128} \left (5+2 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}-\frac {1}{40} \left (27-10 x^2\right ) \left (3+5 x^2+x^4\right )^{5/2}+\frac {62361 \tanh ^{-1}\left (\frac {5+2 x^2}{2 \sqrt {3+5 x^2+x^4}}\right )}{2048}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 74, normalized size = 0.70 \begin {gather*} \frac {\sqrt {3+5 x^2+x^4} \left (-77229+12390 x^2+5064 x^4+14960 x^6+9344 x^8+1280 x^{10}\right )}{5120}-\frac {62361 \log \left (-5-2 x^2+2 \sqrt {3+5 x^2+x^4}\right )}{2048} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.12, size = 121, normalized size = 1.14
method | result | size |
risch | \(\frac {\left (1280 x^{10}+9344 x^{8}+14960 x^{6}+5064 x^{4}+12390 x^{2}-77229\right ) \sqrt {x^{4}+5 x^{2}+3}}{5120}+\frac {62361 \ln \left (x^{2}+\frac {5}{2}+\sqrt {x^{4}+5 x^{2}+3}\right )}{2048}\) | \(63\) |
trager | \(\left (\frac {1}{4} x^{10}+\frac {73}{40} x^{8}+\frac {187}{64} x^{6}+\frac {633}{640} x^{4}+\frac {1239}{512} x^{2}-\frac {77229}{5120}\right ) \sqrt {x^{4}+5 x^{2}+3}+\frac {62361 \ln \left (2 x^{2}+5+2 \sqrt {x^{4}+5 x^{2}+3}\right )}{2048}\) | \(66\) |
default | \(\frac {x^{10} \sqrt {x^{4}+5 x^{2}+3}}{4}-\frac {77229 \sqrt {x^{4}+5 x^{2}+3}}{5120}+\frac {1239 x^{2} \sqrt {x^{4}+5 x^{2}+3}}{512}+\frac {73 x^{8} \sqrt {x^{4}+5 x^{2}+3}}{40}+\frac {187 x^{6} \sqrt {x^{4}+5 x^{2}+3}}{64}+\frac {62361 \ln \left (x^{2}+\frac {5}{2}+\sqrt {x^{4}+5 x^{2}+3}\right )}{2048}+\frac {633 x^{4} \sqrt {x^{4}+5 x^{2}+3}}{640}\) | \(121\) |
elliptic | \(\frac {x^{10} \sqrt {x^{4}+5 x^{2}+3}}{4}-\frac {77229 \sqrt {x^{4}+5 x^{2}+3}}{5120}+\frac {1239 x^{2} \sqrt {x^{4}+5 x^{2}+3}}{512}+\frac {73 x^{8} \sqrt {x^{4}+5 x^{2}+3}}{40}+\frac {187 x^{6} \sqrt {x^{4}+5 x^{2}+3}}{64}+\frac {62361 \ln \left (x^{2}+\frac {5}{2}+\sqrt {x^{4}+5 x^{2}+3}\right )}{2048}+\frac {633 x^{4} \sqrt {x^{4}+5 x^{2}+3}}{640}\) | \(121\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 118, normalized size = 1.11 \begin {gather*} \frac {1}{4} \, {\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {5}{2}} x^{2} + \frac {123}{64} \, {\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {3}{2}} x^{2} - \frac {27}{40} \, {\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {5}{2}} - \frac {4797}{512} \, \sqrt {x^{4} + 5 \, x^{2} + 3} x^{2} + \frac {615}{128} \, {\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {3}{2}} - \frac {23985}{1024} \, \sqrt {x^{4} + 5 \, x^{2} + 3} + \frac {62361}{2048} \, \log \left (2 \, x^{2} + 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 66, normalized size = 0.62 \begin {gather*} \frac {1}{5120} \, {\left (1280 \, x^{10} + 9344 \, x^{8} + 14960 \, x^{6} + 5064 \, x^{4} + 12390 \, x^{2} - 77229\right )} \sqrt {x^{4} + 5 \, x^{2} + 3} - \frac {62361}{2048} \, \log \left (-2 \, x^{2} + 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} - 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{3} \cdot \left (3 x^{2} + 2\right ) \left (x^{4} + 5 x^{2} + 3\right )^{\frac {3}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 179 vs.
\(2 (88) = 176\).
time = 3.75, size = 179, normalized size = 1.69 \begin {gather*} \frac {1}{1024} \, \sqrt {x^{4} + 5 \, x^{2} + 3} {\left (2 \, {\left (4 \, {\left (2 \, {\left (8 \, {\left (2 \, x^{2} + 1\right )} x^{2} - 33\right )} x^{2} + 321\right )} x^{2} - 6837\right )} x^{2} + 87147\right )} + \frac {17}{3840} \, \sqrt {x^{4} + 5 \, x^{2} + 3} {\left (2 \, {\left (4 \, {\left (6 \, {\left (8 \, x^{2} + 5\right )} x^{2} - 127\right )} x^{2} + 2635\right )} x^{2} - 33429\right )} + \frac {19}{384} \, \sqrt {x^{4} + 5 \, x^{2} + 3} {\left (2 \, {\left (4 \, {\left (6 \, x^{2} + 5\right )} x^{2} - 89\right )} x^{2} + 1095\right )} + \frac {1}{8} \, \sqrt {x^{4} + 5 \, x^{2} + 3} {\left (2 \, {\left (4 \, x^{2} + 5\right )} x^{2} - 51\right )} - \frac {62361}{2048} \, \log \left (2 \, x^{2} - 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^3\,\left (3\,x^2+2\right )\,{\left (x^4+5\,x^2+3\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________